package com.guosen.web.mocker

import org.codehaus.groovy.control.CompilerConfiguration

/**
 * Created by kerry on 2016/10/25.
 */
class GroovyCl {
    public static GroovyClassLoader gcl

    private final static String ENCODING = "utf-8"

    static {
        CompilerConfiguration compileConf = new CompilerConfiguration()
        compileConf.setSourceEncoding(ENCODING)
        gcl = new GroovyClassLoader(GroovyCl.class.classLoader, compileConf)
    }
}
